import request from '@/utils/request'

// 版权列表-分页版本
export function queryPageCopyright(data) {
  return request({
    url: `/video/page/copyright?page=${data.pageNum}`,
    method: 'post',
    data: data
  })
}
// 版权列表-不分页版本
export function queryListCopyright(data) {
  return request({
    url: '/video/list/copyright',
    method: 'post',
    data: data
  })
}
// 添加版权
export function addCopyright(data) {
  return request({
    url: '/video/add/copyright',
    method: 'post',
    data: data
  })
}
// 添加版权
export function editCopyright(data) {
  return request({
    url: '/video/edit/copyright',
    method: 'post',
    data: data
  })
}
/** 短剧版权-状态 */
export const COPYRIGHT_STATUS = {
  1: '启用',
  2: '禁用'
}
